home *** CD-ROM | disk | FTP | other *** search
/ Propaganda 1 / Propaganda - Issue 1 (1993)(Circle)_006.png < prev    next >
Portable Network Graphic  |  1993-01-01  |  23KB  |  752x576  |  8-bit (21 colors)
Labels: text | electronics | screenshot | font | number
OCR: 051 SELECT 1 of 5 MENU Optimizing your vectorroutine 9 values, to use with every coordinate by Colorbird/Circle Simple and neat. you earn 1/1 of time when using this formula instead. And here it is. Hep, this is the article you should read if you want to optimize your Calculate the the vector (1,1,1) in to vectorroutine. Okey first of all start with checking all blitter operations, new vectors ... do NOT blit bigger areas than you need X(t11, t21, t31) y((12, (22, ( 32) for that moment. It would probably Z(t13, t23, (33) just take 5 instructions to calculate how big area you need to blit. And you a,b, c are rotations around X, y, Z axis. will earn some great amount of time. Secondly check your formula, if you're tl1=cosaxcosb#cosc-sinaxsinc using a stupid formula. The formula tl2=si naxcoscxcosb+cosaxsinc using 12 MULS with 3 axis rotations is t 13=coscasinb useless, you should instead use the so t2l =- cosaxsincxcosb-sinaxcosc called matrisvectorformula, where you t22=cosaxcosc-s i naxs incxcosb simply calculates the vector(1, 1,1)'s t23 =- sincksinb new vectors in X, y, Z. Thats gives you t31 =- cosaxsinb